package com.atguigu.tingshu;

import com.atguigu.tingshu.search.service.SearchService;
import org.junit.jupiter.api.Test;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.test.context.SpringBootTest;

@SpringBootTest
public class Tttt {
    @Autowired
    private SearchService searchService;

    @Test
    public void tttt(){
        for (int i = 1; i <= 1621; i++) {
            try {
                Long s = (long) i;
                searchService.upperAlbum(s);
                System.out.println("运行到了"+s);
            } catch (Exception e) {
                System.out.println(i+"出错了！！！！！！！！");
                continue;
            }
        }
    }
}
